home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xaw / viewport.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  2.5 KB  |  70 lines

  1. /*
  2.  * $XConsortium: Viewport.h,v 1.11 89/07/21 01:55:47 kit Exp $
  3.  * Public definitions for Viewport widget
  4.  */
  5.  
  6. /************************************************************
  7. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  8. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  9.  
  10.                         All Rights Reserved
  11.  
  12. Permission to use, copy, modify, and distribute this software and its 
  13. documentation for any purpose and without fee is hereby granted, 
  14. provided that the above copyright notice appear in all copies and that
  15. both that copyright notice and this permission notice appear in 
  16. supporting documentation, and that the names of Digital or MIT not be
  17. used in advertising or publicity pertaining to distribution of the
  18. software without specific, written prior permission.  
  19.  
  20. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  21. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  22. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  23. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  25. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  26. SOFTWARE.
  27.  
  28. ********************************************************/
  29.  
  30. #ifndef _Viewport_h
  31. #define _Viewport_h
  32.  
  33. #include <X11/Xaw/Form.h>
  34.  
  35. /* Resources:
  36.  
  37.  Name             Class        RepType        Default Value
  38.  ----             -----        -------        -------------
  39.  allowHoriz         Boolean        Boolean        False
  40.  allowVert         Boolean        Boolean        False
  41.  background         Background        Pixel        XtDefaultBackground
  42.  border             BorderColor    Pixel        XtDefaultForeground
  43.  borderWidth         BorderWidth    Dimension    1
  44.  destroyCallback     Callback        Pointer        NULL
  45.  foreceBars         Boolean        Boolean        False
  46.  height             Height        Dimension    0
  47.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  48.  sensitive         Sensitive        Boolean        True
  49.  useBottom         Boolean        Boolean        False
  50.  useRight         Boolean        Boolean        False
  51.  width             Width        Dimension    0
  52.  x             Position        Position    0
  53.  y             Position        Position    0
  54.  
  55. */
  56.  
  57. /* fields added to Form */
  58. #define XtNforceBars "forceBars"
  59. #define XtNallowHoriz "allowHoriz"
  60. #define XtNallowVert "allowVert"
  61. #define XtNuseBottom "useBottom"
  62. #define XtNuseRight "useRight"
  63.  
  64. extern WidgetClass viewportWidgetClass;
  65.  
  66. typedef struct _ViewportClassRec *ViewportWidgetClass;
  67. typedef struct _ViewportRec  *ViewportWidget;
  68.  
  69. #endif /* _Viewport_h */
  70.